

#include <core/Vertex.h>

Vertex::Vertex(){
	this->location = Vector3D(0,0,0);
	this->normal = Vector3D(0,0,0);
	this->textureMap = Vector3D(0,0,0);
        this->hasNormal = false;
        this->hasTexture = false;
}

Vertex::Vertex(const Vector3D& loc){
    this->location = loc;
    this->normal = Vector3D(0,0,0);
    this->textureMap = Vector3D(0,0,0);
    this->hasNormal = false;
    this->hasTexture = false;
}

Vertex::Vertex(const Vector3D& loc, const Vector3D& normal, const Vector3D& textureMap){
    this->location = loc;
    this->normal = normal;
    this->textureMap = textureMap;
    this->hasNormal = true;
    this->hasTexture = true;
}


